package com.xzh.service.impl;

import com.xzh.dao.EchartsMapper;
import com.xzh.service.EcharsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class EcharsServiceImpl implements EcharsService {
    private EchartsMapper echartsMapper;
    @Autowired
    public void setEcharsMapper(EchartsMapper echartsMapper) {
        this.echartsMapper = echartsMapper;
    }

    @Override
    public List<Map<String, Object>> statistics() {
        return echartsMapper.statistics();
    }

}
